import { TConfig } from "./TConfig";


export interface EquipUnlockCfg extends IConfig {id:number;unlock:number;unlockAward:number[];name:string;}



export class EquipUnlockCfgReader extends TConfig<EquipUnlockCfg> {
    protected _name : string = "EquipUnlock";

    public constructor() {
        super();
        this.initByMap({
    "1": {
        "id": 1,
        "unlock": 0,
        "unlockAward": [
            20001
        ],
        "name": "武器"
    },
    "2": {
        "id": 2,
        "unlock": 2,
        "unlockAward": [
            10041
        ],
        "name": "护甲"
    },
    "3": {
        "id": 3,
        "unlock": 3,
        "unlockAward": [
            10001
        ],
        "name": "枪口"
    },
    "4": {
        "id": 4,
        "unlock": 5,
        "unlockAward": [
            10081
        ],
        "name": "挂坠"
    }
});
    }
}